package com.sora.test;

import com.sora.annotation.ServiceScan;
import com.sora.api.HelloService;
import com.sora.serializer.CommonSerializer;
import com.sora.serializer.KryoSerializer;
import com.sora.transport.RpcServer;
import com.sora.transport.socket.server.SocketServer;

/**
 * @Classname: TestServer
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/4/30 11:50
 */
@ServiceScan
public class SocketTestServer {
    public static void main(String[] args) {
        RpcServer server = new SocketServer("127.0.0.1", 9998, CommonSerializer.KRYO_SERIALIZER);
        server.start();
    }
}
